package com.tyk.bookstore.front.product.repository;


import com.tyk.bookstore.front.common.dal.mapper.IMapper;
import com.tyk.bookstore.front.product.model.entity.AuthorDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author tyk
 * @description 作者管理
 */
@Mapper
public interface AuthorRepository extends IMapper<AuthorDo> {
    Long selectIdListByNameLike(@Param("nameLike") String nameLike);

    String selectNameById(@Param("id") Long id);
}
